package com.hlf.modules.merchant.bank.entity;

import java.util.Date;

public class BankCardBin {
    private Short id;

    private String cardBin;

    private Byte cardBinLen;

    private Byte cardType;

    private String bankNo;

    private String bankOrgCode;
    
    private String cardName;

    private String bank;

    private Date insertDate;

    private Date lastUpdateDate;

    public Short getId() {
        return id;
    }

    public void setId(Short id) {
        this.id = id;
    }

    public String getCardBin() {
        return cardBin;
    }

    public void setCardBin(String cardBin) {
        this.cardBin = cardBin == null ? null : cardBin.trim();
    }

    public Byte getCardBinLen() {
        return cardBinLen;
    }

    public void setCardBinLen(Byte cardBinLen) {
        this.cardBinLen = cardBinLen;
    }

    public Byte getCardType() {
        return cardType;
    }

    public void setCardType(Byte cardType) {
        this.cardType = cardType;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo == null ? null : bankNo.trim();
    }

    public String getBankOrgCode() {
		return bankOrgCode;
	}

	public void setBankOrgCode(String bankOrgCode) {
		this.bankOrgCode = bankOrgCode == null ? null : bankOrgCode.trim();
	}
    
    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName == null ? null : cardName.trim();
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank == null ? null : bank.trim();
    }

    public Date getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(Date insertDate) {
        this.insertDate = insertDate;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    @Override
    public String toString() {
        return "BankCardBin{" +
                "id=" + id +
                ", cardBin='" + cardBin + '\'' +
                ", cardBinLen=" + cardBinLen +
                ", cardType=" + cardType +
                ", bankNo='" + bankNo + '\'' +
                ", bankOrgCode='" + bankOrgCode + '\'' +
                ", cardName='" + cardName + '\'' +
                ", bank='" + bank + '\'' +
                ", insertDate=" + insertDate +
                ", lastUpdateDate=" + lastUpdateDate +
                '}';
    }
}